package com.horsen.service.edu.service.feign.fallback;

import com.horsen.common.util.R;
import com.horsen.service.edu.service.feign.OSSFileService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * OSSFileService备选方案
 *
 * @author Horsen
 */
@Slf4j
@Service
public class OSSFileServiceFallback implements OSSFileService {
    @Override
    public R delete(String url) {
        log.info("服务熔断,删除OSS文件失败");
        return R.error();
    }
}
